<script setup lang="ts">
//包装层 请勿修改

</script>

<template>
  <view>
    <router-view v-slot="{ Component }">
      <KeepAlive >
        <component :is="Component" :key="$route.name" v-if="$route.meta.noCache"></component>
      </KeepAlive>
        <component :is="Component" :key="$route.name" v-if="!$route.meta.noCache"></component>
    </router-view>
  </view>
</template>

<style scoped lang="scss">

</style>